package com.uenpay.oem.ui.trans.transfer;

import com.uenpay.service.bean.BankCardInfo;
import com.uenpay.service.bean.TransBankCardList;
import com.uenpay.util.app.base.BaseLoadingView;
import com.uenpay.util.app.base.BasePresenter;

/**
 * Author: liulou
 * Date: 2017/6/23.
 * desc:
 */

public interface TransferContract {
    interface View extends BaseLoadingView {
        void setTransBankCardList(TransBankCardList<BankCardInfo> list);

        void transferSuccess();

        void payPwdError();

        /**
         * 交易返回流水号等信息，发送验证码
         *
         * @param wkPayNo
         * @param tradeNo
         * @param payType
         */
        void returnTradeInfo(String wkPayNo, String tradeNo, String payType);

    }

    interface Presenter extends BasePresenter {
        void getTransBankCardList();

        void sendTransfer(String oprOpenIds, String amount, String payPassword, String payType, String memo);

        void checkCode(String tradeNo, String wkPayNo, String yzm);
    }
}
